package FrameWorkCheck

import(
	"log"
)

func FwCheck()string{
	frameWork:=LinuxFwCheck()
	if len(frameWork) >0{
		log.Println("检测为liunx系统")
	}else{

		winFrameWork:=WinFwCheck()
		frameWork=winFrameWork
		if len(frameWork) >0{
			log.Println("检测为windows系统")
		}else{
			log.Println("系统架构检测错误")
		}
		
	}
	return frameWork
}